package com.yun.zf.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.zf.app.mapper.ZfHousePictureMapper;
import com.yun.zf.app.service.ZfHousePictureService;
import com.yun.zf.common.admin.dto.house.AdminHousePicDto;
import com.yun.zf.common.app.domain.ZfHousePicture;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 房源图片表 服务实现类
 * </p>
 *
 * @author cj
 * @since 2021-01-29
 */
@Service
public class ZfHousePictureServiceImpl extends ServiceImpl<ZfHousePictureMapper, ZfHousePicture> implements ZfHousePictureService {

    @Override
    public List<AdminHousePicDto> getPics(Long houseId, Long provCode, Long cityCode) {

        return baseMapper.getPics(houseId,provCode,cityCode);
    }

    @Override
    public List<AdminHousePicDto> getPics(Long houseId, Long provCode, Long cityCode, int type) {
        return baseMapper.getPics(houseId,provCode,cityCode,type);
    }
}
